package com.tongji.travelplan.unitstub;

import java.util.ArrayList;

import com.tongji.travelplan.beans.CountryBean;
import com.tongji.travelplan.dao.CountryDao;

public class testCountry {
	public static void main(String[] args)
	{
		CountryBean countryBean = new CountryBean();
		ArrayList<CountryBean> al = new ArrayList<CountryBean>();
		CountryDao countryDao = new CountryDao();
		al = countryDao.getAllountry();
		for(int i = 0 ; i < al.size() ; i++)
		{
			countryBean = al.get(i);
			System.out.println(countryBean.getId()+":"+countryBean.getName()+":"+countryBean.getInfomation());
		}
	}
}
